<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .flex {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        border: 1px solid;
        width: 200px;
      }
      .item1 {
        width: 100px;
        background-color: red;
        flex-shrink: 0; /* 不缩放 */
      }
      .item2 {
        flex: 1;
        width: 60px;
      }
      .item3 {
        flex: 1;
        width: 0;
      }
      .ii {
        width: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }
    </style>
  </head>
  <body>
    <div class="flex">
      <div class="item1">今天吃什么</div>
      <div class="item2">
        <div class="ii">今</div>
      </div>
      <div class="item3">
        <div class="ii">今天吃花菜炒肉、清炒大白菜、西红柿鸡蛋</div>
      </div>
    </div>
  </body>
</html>
